package org.tea.inventory.domain.sys;

import java.io.Serializable;

/**
 * 用户信息实体类
 *
 * @author tracy
 */
public class UserInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    private int id; // 标识
    private String loginId; // 用户登录名
    private String loginPwd; // 登录密码
    private String userName; // 用户名称
    private String userEmail; // 用户邮箱
    private String userPhone; // 用户手机号码
    private String company; // 所属公司
    private String department; // 部门
    private String deptName; // 部门名称
    private String costCenter; // 成本中心编码
    private String post; // 职位
    private String postName; // 职位名称
    private String workplace; // 工作地点
    private String employeNo; // 员工号
    private String createDate; // 创建时间
    private String updateDate; // 更新时间
    private String dhrmCompany;//公司编号
    private String dhrmCompanyName;//公司编号
    private String companyId; // 公司标识
    private boolean isAdmin; // 是否为管理员
    private boolean superAdmin; // 是否为超级管理员
    private String sex; // 性别
    private String headImage; //人物头像
    private String youtuImage; //人物头像
    private String remainLeave;//年假剩余天数
    private String openId;//微信用户唯一标识
    private int isDelete;//是否删除
    private String vacation;//假期字段 用于签到

    private String userNamePY;//用户名-拼音

    private String updateUser;//用户名-拼音
    private String updateUserIp;//用户名-拼音
    private String isManager;//是否为销售部经理
    private String isRecruit;//是否是招聘
    private int balance;//余额

    private String workAddr;        //排班地点
    private String workSchedul;    //排班时间

    private String idCard;           //身份证号
    private String dgtJoinTime;           //加入时间

    private String emailPassword; // 邮箱初始密码
    private String isPopup;//是否弹出过

    private String roleId;//角色
    private String oldRoleId;
    private String roleName;//角色
    private String redPacketCount;//抽红包次数
    private String receivingAddress;//收货地址

    private int isLeader;//是否为他人直属上级，默认为0，不是；1、是


    private boolean checked;//是否被选中

    private Integer isSetPwd;// 是否设置密码:0-未登陆;1-已登录,未设置密码;2-已设置密码

    private String oldPwd; // 原登录密码

    private String isRefundItem;//是否退项

    private Integer delFlag;//是否删除
    private String isHr;

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public String getIsRefundItem() {
        return isRefundItem;
    }

    public void setIsRefundItem(String isRefundItem) {
        this.isRefundItem = isRefundItem;
    }

    public String getIsHr() {
        return isHr;
    }

    public void setIsHr(String isHr) {
        this.isHr = isHr;
    }

    public String getOldPwd() {
        return oldPwd;
    }

    public void setOldPwd(String oldPwd) {
        this.oldPwd = oldPwd;
    }

    public Integer getIsSetPwd() {
        return isSetPwd;
    }

    public void setIsSetPwd(Integer isSetPwd) {
        this.isSetPwd = isSetPwd;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public String getReceivingAddress() {
        return receivingAddress;
    }

    public void setReceivingAddress(String receivingAddress) {
        this.receivingAddress = receivingAddress;
    }

    public String getRedPacketCount() {
        return redPacketCount;
    }

    public void setRedPacketCount(String redPacketCount) {
        this.redPacketCount = redPacketCount;
    }

    public String getOldRoleId() {
        return oldRoleId;
    }

    public void setOldRoleId(String oldRoleId) {
        this.oldRoleId = oldRoleId;
    }

    public String getIsPopup() {
        return isPopup;
    }

    public void setIsPopup(String isPopup) {
        this.isPopup = isPopup;
    }

    public String getYoutuImage() {
        return youtuImage;
    }

    public void setYoutuImage(String youtuImage) {
        this.youtuImage = youtuImage;
    }

    public String getDhrmCompany() {
        return dhrmCompany;
    }

    public void setDhrmCompany(String dhrmCompany) {
        this.dhrmCompany = dhrmCompany;
    }

    public int getBalance() {
        return balance;
    }

    public void setBalance(int balance) {
        this.balance = balance;
    }

    public String getIsRecruit() {
        return isRecruit;
    }

    public void setIsRecruit(String isRecruit) {
        this.isRecruit = isRecruit;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public String getVacation() {
        return vacation;
    }

    public void setVacation(String vacation) {
        this.vacation = vacation;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public String getWorkplace() {
        return workplace;
    }

    public void setWorkplace(String workplace) {
        this.workplace = workplace;
    }

    public String getEmployeNo() {
        return employeNo;
    }

    public void setEmployeNo(String employeNo) {
        this.employeNo = employeNo;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public boolean isAdmin() {
        return isAdmin;
    }

    public void setAdmin(boolean isAdmin) {
        this.isAdmin = isAdmin;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getHeadImage() {
        return headImage;
    }

    public void setHeadImage(String headImage) {
        this.headImage = headImage;
    }

    public String getRemainLeave() {
        return remainLeave;
    }

    public void setRemainLeave(String remainLeave) {
        this.remainLeave = remainLeave;
    }

    public boolean isSuperAdmin() {
        return superAdmin;
    }

    public void setSuperAdmin(boolean superAdmin) {
        this.superAdmin = superAdmin;
    }

    public String getUserNamePY() {
        return userNamePY;
    }

    public void setUserNamePY(String userNamePY) {
        this.userNamePY = userNamePY;
    }

    @Override
    public String toString() {
        return "UserInfo [id=" + id + ", loginId=" + loginId + ", loginPwd=" + loginPwd + ", userName=" + userName
                + ", userEmail=" + userEmail + ", userPhone=" + userPhone + ", company=" + company + ", department="
                + department + ", post=" + post + ", workplace=" + workplace + ", employeNo=" + employeNo
                + ", createDate=" + createDate + ", updateDate=" + updateDate + ", companyId=" + companyId
                + ", isAdmin=" + isAdmin + ", sex=" + sex + ", headImage=" + headImage + ", remainLeave=" + remainLeave
                + "]";
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getUpdateUserIp() {
        return updateUserIp;
    }

    public void setUpdateUserIp(String updateUserIp) {
        this.updateUserIp = updateUserIp;
    }

    public String getIsManager() {
        return isManager;
    }

    public void setIsManager(String isManager) {
        this.isManager = isManager;
    }

    public String getWorkAddr() {
        return workAddr;
    }

    public void setWorkAddr(String workAddr) {
        this.workAddr = workAddr;
    }

    public String getWorkSchedul() {
        return workSchedul;
    }

    public void setWorkSchedul(String workSchedul) {
        this.workSchedul = workSchedul;
    }

    public String getCostCenter() {
        return costCenter;
    }

    public void setCostCenter(String costCenter) {
        this.costCenter = costCenter;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getDgtJoinTime() {
        return dgtJoinTime;
    }

    public void setDgtJoinTime(String dgtJoinTime) {
        this.dgtJoinTime = dgtJoinTime;
    }

    public String getDhrmCompanyName() {
        return dhrmCompanyName;
    }

    public void setDhrmCompanyName(String dhrmCompanyName) {
        this.dhrmCompanyName = dhrmCompanyName;
    }

    public String getEmailPassword() {
        return emailPassword;
    }

    public void setEmailPassword(String emailPassword) {
        this.emailPassword = emailPassword;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public int getIsLeader() {
        return isLeader;
    }

    public void setIsLeader(int isLeader) {
        this.isLeader = isLeader;
    }
}
